home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / UpdateStar 1.1.206 / UpdateStar_ENU.msi / StartXsl < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-12  |  20.4 KB  |  680 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3.  
  4. <xsl:template match="start/stylepath"></xsl:template>
  5. <xsl:template match="start/language"></xsl:template>
  6. <xsl:template match="start/largefont"></xsl:template>
  7.  
  8.  
  9. <xsl:variable name="language"><xsl:value-of select="start/language"/></xsl:variable>
  10. <xsl:variable name="largefont"><xsl:value-of select="start/largefont"/></xsl:variable>
  11. <xsl:variable name="stylepathorig"><xsl:value-of select="start/stylepath"/></xsl:variable>
  12. <xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>/Img/</xsl:variable>
  13. <xsl:variable name="apps"><xsl:value-of select="start/data/countings/apps"/></xsl:variable>
  14. <xsl:variable name="updates"><xsl:value-of select="start/data/countings/updates"/></xsl:variable>
  15. <xsl:variable name="ratio"><xsl:value-of select="start/data/countings/apps_ratio"/></xsl:variable>
  16. <xsl:variable name="lastupdate"><xsl:value-of select="start/data/lastupdate"/></xsl:variable>
  17. <xsl:variable name="build"><xsl:value-of select="start/data/build"/></xsl:variable>
  18. <xsl:variable name="myupdatelist"><xsl:value-of select="start/data/updatelist"/></xsl:variable>
  19.  
  20.  
  21.  
  22.  
  23. <xsl:template match="start/data">
  24.  
  25.  
  26. <html>
  27.     <head>
  28. <META HTTP-EQUIV="MSThemeCompatible" CONTENT="YES"/>
  29.  
  30. <xsl:element name="link">
  31.     <xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>/style.css</xsl:attribute>
  32.     <xsl:attribute name="rel">stylesheet</xsl:attribute>
  33.     <xsl:attribute name="type">text/css</xsl:attribute>
  34. </xsl:element>
  35.  
  36. <xsl:if test="$largefont='yes'">
  37.     <style type="text/css">
  38.         td     {
  39.             font-size: 15px;
  40.         }
  41.         
  42.         td.desc{
  43.             font-size:13px;
  44.         }
  45.         td.normal{
  46.             font-size:13px;
  47.         }
  48.         td.normalbig{
  49.             font-size:13px;
  50.         }
  51.         a.sublink{
  52.             font-size:11px;
  53.             font-weight:bold;
  54.         }
  55.     </style>
  56. </xsl:if>
  57.  
  58.  
  59.  
  60.  
  61.  
  62. <!--
  63. <xsl:element name="SCRIPT">
  64.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  65.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
  66. </xsl:element>
  67.  
  68.  
  69. <xsl:element name="SCRIPT">
  70.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  71.     <xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
  72. </xsl:element>
  73. -->
  74.  
  75.  
  76.  
  77. <xsl:element name="SCRIPT">
  78.     <xsl:attribute name="language">JavaScript</xsl:attribute>
  79. function translate(){
  80.     for (newalt in sfields) {
  81.         if(document.getElementById(newalt) ){
  82.             if(document.getElementById(newalt).alt){//image
  83.                 document.getElementById(newalt).alt=sfields[newalt];
  84.             }else if(document.getElementById(newalt).value == ""){//input
  85.                 document.getElementById(newalt).value=sfields[newalt];
  86.             }else{
  87.                 document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
  88.             }
  89.         }
  90.  
  91.             if(document.getElementById(newalt + "_" + 0)){
  92.                 document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
  93.             }
  94.             
  95.             if(document.getElementById(newalt + "_" + 1)){
  96.                 document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
  97.             }
  98.             
  99.             if(document.getElementById(newalt + "_" + 2)){
  100.                 document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
  101.             }
  102.             
  103.             if(document.getElementById(newalt + "_" + 3)){
  104.                 document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
  105.             }
  106.             
  107.             if(document.getElementById(newalt + "_" + 4)){
  108.                 document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
  109.             }
  110.             
  111.             if(document.getElementById(newalt + "_" + 5)){
  112.                 document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
  113.             }
  114.                 
  115.         }
  116. }
  117.  
  118.  
  119. var sfields = new Array();
  120.  
  121. //start
  122. sfields["str_noupdate"]        = "No Updates Available";
  123. sfields["str_yesupdate"]    = "Updates Available!";
  124. sfields["str_lastscan"]        = "Last Update Scan:";
  125. sfields["str_foundprogs"]    = "Programs found:";
  126. sfields["str_foundupdates"]    = "Updates found:";
  127. sfields["searchbutton"]        = "Search for Updates";
  128. sfields["listbutton"]        = "Program List";
  129. sfields["str_availupdates"]    = "Updates Available:";
  130. sfields["str_availvers"]    = "Version:";
  131. sfields["str_availnews"]    = "News:";
  132.  
  133.  
  134. //details
  135. sfields["str_pname"]        = "Product name:";
  136. sfields["str_publisher"]    = "Publisher:";
  137. sfields["str_category"]     = "Category:";
  138. sfields["str_license"]         = "License:";
  139. sfields["str_irequirements"] = "System requirements:";
  140. sfields["str_iversion"]     = "Installed Version:";
  141. sfields["str_uversion"]     = "Current Version:";
  142. sfields["str_management"]     = "Administration:";
  143. sfields["str_info"]         = "Info:";
  144. sfields["str_sdesc"]         = "Short description:";
  145. sfields["str_desc"]         = "Description:";
  146. sfields["str_download"]     = "Download";
  147. sfields["str_buynow"]         = "Buy now";
  148. sfields["str_buyfrom"]         = "from ";
  149. sfields["str_errlink"]         = "incorrect link";
  150. sfields["str_sendupdate"]     = "Send Update";
  151. sfields["sendupdate"]         = "Send Update";
  152. sfields["alt_uninstall"]    = "Uninstall ";
  153. sfields["alt_repair"]         = "Repair";
  154. sfields["alt_modify"]         = "Modify";
  155.  
  156. sfields["str_newstitle"]    = "Title";
  157. sfields["str_newsdata"]     = "Date";
  158.  
  159. </xsl:element>
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166. <xsl:if test="$language='1031'">
  167.     <script type="text/javascript">
  168.     
  169. //start
  170. sfields["str_noupdate"]        = "Keine Updates verfⁿgbar";
  171. sfields["str_yesupdate"]    = "Updates verfⁿgbar!";
  172. sfields["str_lastscan"]        = "Letzter Update-Scan:";
  173. sfields["str_foundprogs"]    = "Gefundene Programme:";
  174. sfields["str_foundupdates"]    = "Gefundene Updates:";
  175. sfields["searchbutton"]        = "Updates suchen";
  176. sfields["listbutton"]        = "Programmliste";
  177. sfields["str_availupdates"]    = "Verfⁿgbare Updates:";
  178. sfields["str_availvers"]    = "Aktuelle Version:";
  179. sfields["str_availnews"]    = "Verfⁿgbare Meldungen:";
  180.  
  181.  
  182. //details
  183. sfields["str_pname"]        = "Produktname:";
  184. sfields["str_publisher"]    = "Hersteller:";
  185. sfields["str_category"]     = "Produktkategorie:";
  186. sfields["str_irequirements"] = "Systemanforderungen:";
  187. sfields["str_license"]         = "Lizenz:";
  188. sfields["str_iversion"]     = "Installierte Version:";
  189. sfields["str_uversion"]     = "Aktuelle Version:";
  190. sfields["str_management"]     = "Verwaltung:";
  191. sfields["str_info"]         = "Info:";
  192. sfields["str_sdesc"]         = "Kurze Beschreibung:";
  193. sfields["str_desc"]         = "Beschreibung:";
  194. sfields["str_download"]     = "Download";
  195. sfields["str_buynow"]         = "Jetzt kaufen";
  196. sfields["str_buyfrom"]         = "von ";
  197. sfields["str_errlink"]         = "Link ist falsch";
  198. sfields["str_sendupdate"]     = "Update senden";
  199. sfields["sendupdate"]         = "Update senden";
  200. sfields["alt_uninstall"]    = "Deinstallieren ";
  201. sfields["alt_repair"]         = "Reparieren";
  202. sfields["alt_modify"]         = "─ndern";
  203.  
  204. //news
  205. sfields["str_newstitle"]    = "Titel";
  206. sfields["str_newsdata"]     = "Datum";
  207.  
  208.     </script>
  209. </xsl:if>
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218. </head>
  219.  
  220. <body onload="if(window.translate)translate();">
  221.  
  222.  
  223.  
  224.  
  225.  
  226. <form name="form1" method="post" action="" id="form1">
  227.     <div>
  228.         <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
  229.         <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
  230.     </div>
  231.     
  232.     <script type="text/javascript">
  233.     <!--
  234.         var theForm = document.forms['form1'];
  235.         if (!theForm) { 
  236.       theForm = document.form1; 
  237.     }
  238.         function __doPostBack(eventTarget, eventArgument) {
  239.             if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
  240.                 theForm.__EVENTTARGET.value = eventTarget;
  241.                 theForm.__EVENTARGUMENT.value = eventArgument;
  242.                 theForm.submit(); 
  243.             }
  244.         }
  245.     // -->
  246.  
  247.         function Close() { 
  248.             if (window.external && window.external.StartClose) { 
  249.                 window.external.StartClose(); 
  250.             } 
  251.             return false;
  252.         }
  253.         var closebt = document.getElementById("StartPage_CloseButton");
  254.         if (closebt != null) { 
  255.             closebt.onclick = Close; 
  256.         }
  257. </script>
  258.     
  259.     
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.     
  267. <!-- ERSTE TABELLE OBEN LINKS  -->    
  268. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
  269.     <tr>
  270.         <td style="padding-left: 10px; padding-right:10px">
  271.             <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  272.                 <tr>
  273.                     <xsl:if test="$myupdatelist=''">
  274.                         <td class="status_greenl"><div id="str_noupdate">.</div></td>
  275.                         <td class="status_greenr">
  276.                             <xsl:element name="img">
  277.                                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  278.                                 <xsl:attribute name="width">19</xsl:attribute>
  279.                                 <xsl:attribute name="height">23</xsl:attribute>
  280.                             </xsl:element>
  281.                         </td>
  282.                     </xsl:if>
  283.                     <xsl:if test="not($myupdatelist='')">
  284.                         <td class="status_redl"><div id="str_yesupdate">.</div></td>
  285.                         <td class="status_redr">
  286.                             <xsl:element name="img">
  287.                                 <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  288.                                 <xsl:attribute name="width">19</xsl:attribute>
  289.                                 <xsl:attribute name="height">23</xsl:attribute>
  290.                             </xsl:element>
  291.                         </td>
  292.                 </xsl:if>
  293.                 
  294.                 </tr>
  295.             </table>
  296.         </td>
  297.     </tr>
  298.     <tr>
  299.         <td valign="top" class="bgpic_unused">
  300.             <table border="0" cellpadding="10" cellspacing="0" width="100%" >
  301.             <tr>
  302.                 <td width="50%" valign="top" colspan="2">
  303.                     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  304.                         <tr>
  305.                             <td class="tl">
  306.                                 <xsl:element name="img">
  307.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  308.                                     <xsl:attribute name="width">2</xsl:attribute>
  309.                                     <xsl:attribute name="height">2</xsl:attribute>
  310.                                 </xsl:element>
  311.                             </td><td class="tm" width="100%"></td>
  312.                             <td class="tr">
  313.                                 <xsl:element name="img">
  314.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
  315.                                     <xsl:attribute name="width">2</xsl:attribute>
  316.                                     <xsl:attribute name="height">2</xsl:attribute>
  317.                                 </xsl:element>
  318.                             </td>
  319.                         </tr>
  320.                         <tr>
  321.                             <td class="ml"></td>
  322.                             <td width="100%" class="wbox">
  323.  
  324. <table border="0" cellpadding="0" cellspacing="0"  width="100%">
  325.     <tr>
  326.         <td valign="top" style="padding-right:15px" width="20">
  327.             <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_scan.gif</xsl:attribute></xsl:element>
  328.         </td>
  329.         <td valign="top" width="250">
  330.             <table border="0" cellpadding="0" cellspacing="0" width="100%">
  331.                 <tr>
  332.                   <td colspan="2" valign="top" style="padding-bottom:20px">
  333.                         <table border="0" width="100%" cellpadding="0" cellspacing="0" >
  334.                             <tr>
  335.                                 <td class="normalbig"><div id="str_lastscan">.</div></td>
  336.                             </tr>
  337.                             <tr>
  338.                                 <td class="blue" valign="top"><b><xsl:copy-of select="$lastupdate"/></b></td>
  339.                             </tr>
  340.                         </table>
  341.                     </td>
  342.                 </tr>
  343.                 <tr>
  344.                     <td colspan="2" valign="top">
  345.                         <table border="0" width="100%" cellpadding="0" cellspacing="0">
  346.                             <tr>
  347.                                 <td class="normalbig"><div id="str_foundprogs">.</div></td>
  348.                                 <td class="green"><b><xsl:copy-of select="$apps"/></b></td>
  349.                                 <td rowspan="2">
  350.                                     <!--chart-->
  351.                                 </td>
  352.                             </tr>
  353.                             <tr>
  354.                                 <td class="normalbig"><div id="str_foundupdates">.</div></td>
  355.                                 <td class="red"><b><xsl:copy-of select="$updates"/></b></td>
  356.                             </tr>
  357.                         </table>
  358.                     </td>
  359.                 </tr>
  360.                 <tr>
  361.                     <td colspan="2">
  362.                         <br/>
  363.                         <xsl:element name="img">
  364.                             <xsl:attribute name="width">250</xsl:attribute>
  365.                             <xsl:attribute name="height">1</xsl:attribute>
  366.                             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/shim.gif</xsl:attribute>
  367.                         </xsl:element>
  368.                     </td>
  369.                 </tr>
  370.             </table>
  371.         </td>
  372.         
  373.         <td valign="top">
  374.             <xsl:element name="img">
  375.                 <xsl:attribute name="src">
  376.                 <xsl:copy-of select="$stylepath"/>/chart/<xsl:copy-of select="$ratio"/>.png
  377.                 </xsl:attribute>
  378.                 <xsl:attribute name="style">margin-left:15px; margin-right:15px; margin-top:15px;</xsl:attribute>
  379.             </xsl:element>
  380.         </td>
  381.         
  382.         
  383.         <td>
  384.             <table border="0" cellpadding="5" cellspacing="0" >
  385.                 <tr>
  386.                     <td>
  387.                         
  388.                         <table border="0" cellpadding="0" cellspacing="0">
  389.                             <tr>
  390.                                 <td>
  391.                                     <xsl:element name="img">
  392.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
  393.                                     </xsl:element>
  394.                                 </td>
  395.                                 <td class="startm">
  396.                                 <a href="#" class="buttonstart" onclick="window.external.StartScan();" id="searchbutton">.</a></td>
  397.                                 <td>
  398.                                     <xsl:element name="img">
  399.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
  400.                                     </xsl:element>
  401.                                 </td>
  402.                             </tr>
  403.                         </table>
  404.                 
  405.                     </td>
  406.                 </tr>
  407.                 <tr>
  408.                     <td>
  409.                         <table border="0" cellpadding="0" cellspacing="0">
  410.                             <tr>
  411.                                 <td>
  412.                                     <xsl:element name="img">
  413.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_left.gif</xsl:attribute>
  414.                                     </xsl:element>
  415.                                 </td>
  416.                                 <td class="startm">
  417.                                 <a href="#" class="buttonstart" onclick="window.external.StartClose();" id="listbutton">.</a></td>
  418.                                 <td>
  419.                                     <xsl:element name="img">
  420.                                         <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>buttons/start_right.gif</xsl:attribute>
  421.                                     </xsl:element>
  422.                                 </td>
  423.                             </tr>
  424.                         </table>
  425.                         
  426.                         
  427.                     </td>
  428.  
  429.                 </tr>
  430.             </table>
  431.         </td>
  432.         
  433.         
  434.  
  435.         
  436.         
  437.         
  438.         
  439.         <td valign="top">
  440.             <xsl:element name="img">
  441.             <xsl:attribute name="border">0</xsl:attribute>
  442.             <xsl:attribute name="align">right</xsl:attribute>
  443.             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>startstar.png</xsl:attribute></xsl:element>
  444.         </td>
  445.     </tr>
  446. </table>
  447.  
  448.                             </td>
  449.                             <td class="mr"></td>
  450.                         </tr>
  451.                         <tr>
  452.                             <td class="bl">
  453.                                 <xsl:element name="img">
  454.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  455.                                     <xsl:attribute name="width">2</xsl:attribute>
  456.                                     <xsl:attribute name="height">2</xsl:attribute>
  457.                                 </xsl:element>
  458.                             </td>
  459.                             <td class="bm"></td>
  460.                             <td class="br">
  461.                                 <xsl:element name="img">
  462.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  463.                                     <xsl:attribute name="width">2</xsl:attribute>
  464.                                     <xsl:attribute name="height">2</xsl:attribute>
  465.                                 </xsl:element>
  466.                             </td>
  467.                         </tr>                    
  468.                     </table>
  469.                 </td>
  470.  
  471.             </tr>
  472.             <tr>
  473.                 <td width="50%" valign="top">
  474.                 
  475. <!-- Dritte TABELLE UNTEN LINKS-->    
  476. <table border="0" cellpadding="0" cellspacing="0" width="100%" height="200">
  477.                         <tr>
  478.                             <td class="tl">
  479.                                 <xsl:element name="img">
  480.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  481.                                     <xsl:attribute name="width">2</xsl:attribute>
  482.                                     <xsl:attribute name="height">2</xsl:attribute>
  483.                                 </xsl:element>
  484.                             </td><td class="tm" width="100%"></td>
  485.                             <td class="tr">
  486.                                 <xsl:element name="img">
  487.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  488.                                     <xsl:attribute name="width">2</xsl:attribute>
  489.                                     <xsl:attribute name="height">2</xsl:attribute>
  490.                                 </xsl:element>
  491.                             </td>
  492.                         </tr>
  493.                         <tr>
  494.                             <td class="ml"></td>
  495.                             <td width="100%" height="100%" class="wbox">
  496.  
  497. <table border="0" cellpadding="0" cellspacing="0" height="200" width="100%">
  498.     <tr>
  499.         <td valign="top" style="padding-right:15px">
  500.             <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_ok.gif</xsl:attribute></xsl:element>
  501.         </td>
  502.         <td valign="top" width="100%">
  503.             <table border="0" cellpadding="2" cellspacing="0" width="100%">
  504.                 <tr>
  505.                     <td width="80%" class="normalbig" style="white-space: nowrap;"><div id="str_availupdates">.</div></td>
  506.                     <td class="normalbig" style="white-space: nowrap;"><div id="str_availvers">.</div></td>
  507.                 </tr>
  508.                 
  509.                 <xsl:for-each select="updatelist">
  510.                     <xsl:apply-templates/>
  511.                 </xsl:for-each>
  512.                 
  513.             </table>
  514.         </td>
  515.         <td valign="top"></td>
  516.     </tr>
  517. </table>
  518.  
  519.                             </td>
  520.                             <td class="mr"></td>
  521.                         </tr>
  522.                         <tr>
  523.                             <td class="bl">
  524.                                 <xsl:element name="img">
  525.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  526.                                     <xsl:attribute name="width">2</xsl:attribute>
  527.                                     <xsl:attribute name="height">2</xsl:attribute>
  528.                                 </xsl:element>
  529.                             </td>
  530.                             <td class="bm"></td>
  531.                             <td class="br">
  532.                                 <xsl:element name="img">
  533.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  534.                                     <xsl:attribute name="width">2</xsl:attribute>
  535.                                     <xsl:attribute name="height">2</xsl:attribute>
  536.                                 </xsl:element>
  537.                             </td>
  538.                         </tr>                    
  539.                     </table>
  540.                 
  541.                 </td>
  542.                 <td width="50%" valign="top">
  543.                 
  544. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  545.                         <tr>
  546.                             <td class="tl">
  547.                                 <xsl:element name="img">
  548.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  549.                                     <xsl:attribute name="width">2</xsl:attribute>
  550.                                     <xsl:attribute name="height">2</xsl:attribute>
  551.                                 </xsl:element>
  552.                             </td><td class="tm" width="100%"></td>
  553.                             <td class="tr">
  554.                                 <xsl:element name="img">
  555.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  556.                                     <xsl:attribute name="width">2</xsl:attribute>
  557.                                     <xsl:attribute name="height">2</xsl:attribute>
  558.                                 </xsl:element>
  559.                             </td>
  560.                         </tr>
  561.                         <tr>
  562.                             <td class="ml"></td>
  563.                             <td width="100%" class="wbox">
  564.  
  565. <table border="0" cellpadding="0" cellspacing="0" height="200" width="100%">
  566.     <tr>
  567.         <td valign="top" style="padding-right:15px">
  568.             <xsl:element name="img"><xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/xml_news.gif</xsl:attribute></xsl:element>
  569.         </td>
  570.         <td valign="top" width="100%">
  571.             <table border="0" cellpadding="2" cellspacing="0" width="100%">
  572.                 <tr>
  573.                     <td width="100%" class="normalbig"><nobr><div id="str_availnews">.</div></nobr></td>
  574.                 </tr>
  575.                 <tr>
  576.                     <td>
  577.                         <xsl:for-each select="newslist">
  578.                             <xsl:apply-templates/>
  579.                         </xsl:for-each>
  580.                     </td>
  581.                 </tr>
  582.             </table>
  583.         </td>
  584.         <td valign="top"></td>
  585.     </tr>
  586. </table>
  587.                             
  588.                             </td>
  589.                             <td class="mr"></td>
  590.                         </tr>
  591.                         <tr>
  592.                             <td class="bl">
  593.                                 <xsl:element name="img">
  594.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  595.                                     <xsl:attribute name="width">2</xsl:attribute>
  596.                                     <xsl:attribute name="height">2</xsl:attribute>
  597.                                 </xsl:element>
  598.                             </td>
  599.                             <td class="bm"></td>
  600.                             <td class="br">
  601.                                 <xsl:element name="img">
  602.                                     <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  603.                                     <xsl:attribute name="width">2</xsl:attribute>
  604.                                     <xsl:attribute name="height">2</xsl:attribute>
  605.                                 </xsl:element>
  606.                             </td>
  607.                         </tr>                    
  608.                     </table>
  609.                 
  610.                 </td>
  611.             </tr>
  612.         </table>
  613.         <xsl:element name="img">
  614.             <xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
  615.             <xsl:attribute name="width">1</xsl:attribute>
  616.             <xsl:attribute name="height">1</xsl:attribute>
  617.         </xsl:element>
  618.     </td></tr>
  619. </table>
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632. </form>
  633. </body></html>
  634. </xsl:template>
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643. <xsl:template match="news">
  644.     <table border="0" width="100%">
  645.         <tr>
  646.             <td width="100%" class="normalbig">
  647.                 <xsl:element name="a">
  648.                     <xsl:attribute name="href">javascript:window.external.OpenNews(<xsl:value-of select="id" />);</xsl:attribute>
  649.                     <xsl:attribute name="alt"><xsl:value-of select="url" /></xsl:attribute>
  650.                     <xsl:value-of select="title" />
  651.                 </xsl:element>
  652.             </td>
  653.         </tr>
  654.     </table>
  655. </xsl:template>
  656.  
  657.  
  658.  
  659. <xsl:template match="update">
  660.     <tr>
  661.         <td valign="top" style="padding-right:10px;" class="normalbig">
  662.             <xsl:element name="a">
  663.                 <xsl:attribute name="href">javascript:window.external.GotoUpdate(<xsl:value-of select="update_id" />);</xsl:attribute>
  664.                 <xsl:value-of select="name"/>
  665.             </xsl:element>    
  666.         </td>
  667.         
  668.         <td valign="top" class="normalbig">
  669.             <xsl:element name="a">
  670.                 <xsl:attribute name="href">javascript:window.external.GotoUpdate(<xsl:value-of select="update_id" />);</xsl:attribute>
  671.                 <xsl:value-of select="version"/>
  672.             </xsl:element>    
  673.         </td>
  674.     </tr>
  675. </xsl:template>
  676.  
  677.  
  678.  
  679. </xsl:stylesheet>
  680.